// 基于template/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IEditViewModel } from "@/core/interface/view/model";
function getModel(): IEditViewModel {
  return {
    caption: "面板编辑器测试",
    title: "面板编辑器测试",
    capPSLanguageRes: "DE.LNAME.IBIZSAMPLE0001",
    titlePSLanguageRes: "",
    showDataInfoBar: true,
    codeName: 'IBIZSample0001Usr1204553690EditView',
    uiEngineModel: [
        ],
    ctrls: [
        {
            name: 'toolbar',
            codeName: 'Usr1204553690EditViewtoolbar',
            controlType: 'TOOLBAR',
        }
    ],
    ctrlParams: {
        IBIZSample0001toolbar: {},
    },
    cssName: "",
    name: "IBIZSample0001Usr1204553690EditView",
    viewType: "DEEDITVIEW",
    viewStyle: "DEFAULT",
    showCaption: true,
    isLoadDefault: true,
    entityCodeName: "IBIZSample0001",
    keyPSAppDEField: "IBIZSample0001Id",
    majorPSAppDEField: "IBIZSample0001Name",
    expandSearchForm:false,
    xDataCtrlName: "form",
    quickSearchPlaceholder: ['名称',].join(","),
    useDefaultLayout: false,
    layoutMode: "TABLE_24COL",
    rootLayoutDetailNames: ["page_container"],
    toolbarItems: [
    ],
    layoutItems: {
      page_container: {
          name: "page_container",
          type: "VIEWLAYOUT",
          caption: "容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "FLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "column",
              vAlign: "",
          },
          details: ["container_grid1","container_singledata1"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container_grid1: {
          name: "container_grid1",
          type: "VIEWLAYOUT",
          caption: "栅格容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "SIMPLEFLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "page_container",
          details: ["container1","container_2"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container1: {
          name: "container1",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "TABLE_24COL",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 6,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_grid1",
          details: ["view_pagecaption"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      view_pagecaption: {
          name: "view_pagecaption",
          type: "VIEWLAYOUT",
          caption: "页面标题",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "FIELD",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "FULL",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "LEFT",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container1",
          required: false,
          dataItemName: "",
          predefinedType: "VIEW_PAGECAPTION",
          editorDynaClass: "",
          renderMode: "HEADING1",
          wrapMode: "NOWRAP",
          vAlign: "MIDDLE",
          hAlign: "LEFT",
      },
      
      
      container_2: {
          name: "container_2",
          type: "VIEWLAYOUT",
          caption: "容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "TABLE_24COL",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_grid1",
          details: ["toolbar"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      toolbar: {
          name: "toolbar",
          type: "VIEWLAYOUT",
          caption: "TOOLBAR",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CTRLPOS",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "RIGHT",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_2",
      },
      
      
      
      container_singledata1: {
          name: "container_singledata1",
          type: "VIEWLAYOUT",
          caption: "单项数据容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "FLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "page_container",
          details: ["field_textbox"],
          dataRegionType: "SINGLEDATA",
          dataSourceType: "",
      },
      field_textbox: {
          name: "field_textbox",
          type: "VIEWLAYOUT",
          caption: "文本框",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "FIELD",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_singledata1",
          required: false,
          dataItemName: "",
          predefinedType: "FIELD_TEXTBOX",
          editorDynaClass: "",
      },
      
      
      
    },
  }
}
export const model = getModel();
